/**
 * Copyright (c) 2009-2011, chunquedong(YangJiandong)
 * 
 * This file is part of ChunMap project
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE(Version >=3)
 * 
 * History:
 *     2010-05-05  Jed Young  Creation
 */
package chunmap.model.coord;


/**
 * @author chunquedong
 *
 */
public interface CoordinateSeq  extends Iterable<Position>{
	public int size();
	public Position getCoordinate(int index);
	double[] getXa();
    double[] getYa();
    Position endPoint();
    Position startPoint();
    
	public CoordinateSeq format(PrecisionModel precision);
	CoordinateSeq transform(Transform transf);
	public Object clone();
	
	public boolean equals(Object obj);
	public int hashCode();
	public String toMyString();
}